package com.yj.suncity.bean;

import org.json.JSONObject;

public class AdvBean {
   private String aid;//": "fd6e7bb8-b3a5-40b2-8f27-25bbbcdbe1a8",
   private String userid;//": "27c19669-6d28-4c8e-9027-709d97da4954",
   private String adv_img;
   private String adv_title;
   private String ent_logo;//": "/upload/201504/19/201504191215098670.png",
   private String entname;//": "gongsi1",
   private String ent_jianjie;//": "shangjiajianjie",
   private String num;
   private String amount;
   private String surplus_num;
   private String give_num;//": "5",
   private String gold_total;//": "1161",
   private String share_givenum;//": "15",
   private String person_day_num;//": "1"

	public AdvBean(JSONObject json){
		this.aid = json.optString("aid");
		this.ent_logo = json.optString("ent_logo");
		this.entname = json.optString("entname");
		this.ent_jianjie = json.optString("ent_jianjie");
		this.give_num = json.optString("give_num");
		this.gold_total = json.optString("gold_total");
		this.userid = json.optString("userid");
		this.share_givenum= json.optString("share_givenum");
		this.person_day_num= json.optString("person_day_num");
		this.adv_img=json.optString("adv_img");
		this.adv_title=json.optString("adv_title");
		this.num=json.optString("num");
		this.amount=json.optString("amount");
		this.surplus_num=json.optString("surplus_num");
	}

	public String getAdv_title() {
		return adv_title;
	}

	public void setAdv_title(String adv_title) {
		this.adv_title = adv_title;
	}

	public String getNum() {
		return num;
	}

	public void setNum(String num) {
		this.num = num;
	}

	public String getAmount() {
		return amount;
	}

	public void setAmount(String amount) {
		this.amount = amount;
	}

	public String getSurplus_num() {
		return surplus_num;
	}

	public void setSurplus_num(String surplus_num) {
		this.surplus_num = surplus_num;
	}

	public void setAid(String aid) {
		this.aid = aid;
	}

	public void setUserid(String userid) {
		this.userid = userid;
	}

	public void setAdv_img(String adv_img) {
		this.adv_img = adv_img;
	}

	public void setEnt_logo(String ent_logo) {
		this.ent_logo = ent_logo;
	}

	public void setEntname(String entname) {
		this.entname = entname;
	}

	public void setEnt_jianjie(String ent_jianjie) {
		this.ent_jianjie = ent_jianjie;
	}

	public void setGive_num(String give_num) {
		this.give_num = give_num;
	}

	public void setGold_total(String gold_total) {
		this.gold_total = gold_total;
	}

	public void setShare_givenum(String share_givenum) {
		this.share_givenum = share_givenum;
	}

	public void setPerson_day_num(String person_day_num) {
		this.person_day_num = person_day_num;
	}

	public String getAdv_img() {
		return adv_img;
	}

	public String getUserid() {
		return userid;
	}

	public String getShare_givenum() {
		return share_givenum;
	}

	public String getPerson_day_num() {
		return person_day_num;
	}

	public String getAid() {
		return aid;
	}

	public String getEnt_logo() {
		return ent_logo;
	}

	public String getEntname() {
		return entname;
	}

	public String getEnt_jianjie() {
		return ent_jianjie;
	}

	public String getGive_num() {
		return give_num;
	}

	public String getGold_total() {
		return gold_total;
	}

}
